home *** CD-ROM | disk | FTP | other *** search
/ .net (French) 1996 November / .net Magazine (FR) - Issue 01 - Nov 1996.iso / mac / Outils / NetCacheBack 0.9d6 ƒ / NetCacheResolver readme < prev   
Text File  |  1996-05-12  |  6KB  |  94 lines

  1. NetCacheResolver 0.9d6 - an AppleScriptable helper program
  2. Copyright (C)1995-96 Mizutori Tetsuya
  3. This is a freeware program.
  4. -- May 12, 1996
  5.  
  6. NetCacheResolver is a helper program to my AppleScript application NetCacheBack, that is to resolve the encapsulated cache files of Netscape Navigator 1.1N and 2.0╒s.  Among these versions, there comes about some changes in the record format of the cache log database. NetCacheResolver converts the 2.0╒s CCache log datatabe to 1.1N╒s Cache log one. This is an AppleScriptable application, such that it responds and sends back the resolved records to NetCacheBack client application on demands.
  7.  
  8. NetCacheResolver is written as an AppleScript document, so it requires System 7.5 or later. Or, you need the relative version of scriptable Finder and other Scripting Additions.
  9.  
  10. *** IMPORTANT ***
  11. For the Netscape Navigator 2.0╒s users, please notice that my reverse-engineering on cache log database is not a perfect work. Maybe or not, I wonder the format of database will be changed in the future versions of beta or final release of 2.0╒s. Even if so, I am catching up with the new frontier as possible. Please keep up on the future release of my helper program NetCacheResolver for the new coming cache log databases.
  12.  
  13. Ñ Usage
  14. There are three ways to handle this program to get Cache log record.
  15.  
  16. Ñ ONE: Open the "CCache log" file from the ╥Open...╙ menu command
  17. After this operation on CCache log file, you will get a new Cache log file of 1.1N format in the same folder.
  18.  
  19. Ñ TWO: Drag and drop the "CCache log" file onto NetCacheResolver icon
  20. Select the CCache log file and drop it to the NetCacheResolver icon. Then you will get a new Cache log file of 1.1N╒s one in the same folder.
  21.  
  22. Ñ THREE: Send ╥open╙ or ╥resolve╙ command to NetCacheResolver
  23. Following this command, the client application NetCacheBack gets the Cache log file in the Cache folder (by ╥open╙ command) or receives the Cache log data records as a reply message (by ╥resolve╙ command). Let me show an example.
  24.  
  25.     tell application "Finder"
  26.         set the cachelog to (choose file of type {"DBMC"})
  27.         tell application "NetCacheResolver"
  28.             --open {cachelog}
  29.             set cacheRecordList to resolve {cachelog}
  30.             quit
  31.         end tell
  32.     end tell
  33.  
  34.  
  35. Ñ AppleScript Commands of NetCacheResolver
  36. Required Suite:
  37.     open  alias   -- Resolve the CCache log and create Cache log
  38.     print  alias  -- (do nothing)
  39.     run     -- Sent to an application when it is double-clicked
  40.     quit    -- Quit application
  41.  
  42. Net Cache Resolver:
  43.     resolve  alias  -- Resolve the CCache log file(s)
  44.         [with sorted by  name/date/size/type/url]
  45.     Result:   list  -- list of resolved records
  46.  
  47.     sort  list  -- the list of items to sort, Cache log Record
  48.         [at  integer]  -- field number, beginning with 1
  49.         [by  name/date/size/type/url]  -- by sorting method
  50.         [in  regular/reverse]  -- order form
  51.         [as  alphabet/number]  -- evaluating type
  52.         [with  string]  -- field separator, eg. space or tab
  53.     Result:   list  -- the list of sorted items
  54.  
  55.     view  bySmallIcon/byIcon/byName/byDate/bySize/byKind/byComment/byLabel/byVersion
  56.     -- no operation, definitions only; for the constants of view selected for the window
  57.  
  58.     show about  -- Show about this application
  59.  
  60. Ñ Changes since 0.9d5, October 26, 1995
  61. Yesterday (oh, what is today?:-), I encountered an Unidentified Field Object in the CCache log database. This latent field, which I called ╥export╙, was an unexpected one, though I think most users may not have suffered from it. NetCacheResolver failed to resolve it properly. I fixed it.
  62.  
  63. Ñ Changes since 0.9d4, October 22, 1995
  64. Some rare case happens that cache file records are come up against an exceptional field named ╥content-type╙. Have you ever in the Web world met with them? NetCacheResolver failed to resolve it properly. I fixed it.
  65.  
  66. Ñ Changes since 0.9d3, October 15, 1995
  67. NetCacheResolver returns the cache log records, sorted in the right order by Name, Date, Size, and others. Due to this sorting, NetCacheBack search method becomes much easier and more radid for querying the database. Typically it runs over 2 to 20 times faster than the previous version. Or, the operating time for each query is kept constant, independent of the database size.
  68.  
  69. Ñ Files included are ...
  70.    1. NetCacheResolver              -- an AppleScriptable helper application
  71.    2. NetCacheResolver source   -- source code written in CodeWarrior DR/8
  72.    3. NetCacheResolver readme  -- just this file you are reading
  73.    This is a freeware program. You can distribute it without any limitations nor permission.
  74.  
  75. Ñ About the NetCacheBack...
  76. NetCacheBack resolves the cache files of Netscape Navigator 1.1N and 2.0╒s. Just drag and drop cache files like "cache123000-2" (or "cache123000.html") in the Cache folder onto NetCacheBack icon. That╒s all what to do. Then they are renamed to proper names like "index.html" and moved to the right place of folder. If the folder does not exist, any new folder required is created automatically. Let me show the process as follows;
  77.    [currentFolder]:cache123000-2
  78.    --> [currentFolder]:[home.netscape.com]:[home]:index.html
  79. If you are using the Netscape Navigator 2.0╒s, NetCacheBack first tries to get Cache log data from the CCache log file of 2.0╒s with the help of NetCacheResolver. 
  80. For more information and its source code, please find this companion program at the internet communication directory of the ╥info-mac╙ archive sites, where I posted it separately. Also you can find them at my WWW software catalog page described below.
  81.  
  82. Ñ Comments, or Bug reports are ...
  83. Please feel free to contact me via e-mail:
  84.     mailto:mizutori@ai.rcast.u-tokyo.ac.jp
  85. or  mailto:mizutori@po.iijnet.or.jp
  86.  
  87. Ñ My WWW software catalog page is located at...
  88.     http://www.bekkoame.or.jp/~mizutori/software/catalog.html
  89.  
  90. I wish you enjoy it!
  91. ---
  92. Mizutori Tetsuya, RCAST, Univ. of Tokyo, Japan
  93. mizutori@ai.rcast.u-tokyo.ac.jp
  94.